module.exports = {
	presets: [
		[
			'env',
			{
				modules: false,
				targets: {
					browsers: ['> 1%', 'last 2 versions', 'not ie <= 8'],
				},
			},
		],
		'stage-2',
	],
	plugins: [
		'transform-vue-jsx',
		'transform-runtime',
		[
			'import',
			{
				libraryName: 'ant-design-vue',
				libraryDirectory: 'es',
				style: 'css',
			},
		],
	],
	rules: {
		test: /\.scss$/,
		loaders: ['style', 'css', 'sass'],
	},
};
